package com.findmeastore.bo;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

public class ProductBo implements java.io.Serializable {

	// Fields

	private Integer id;
	private UserBo createdBy;
	private Integer createdByUserId;
	private UserBo lastModfiedBy;
	private Integer lastModifiedByUserId;
	private Timestamp creationTstamp;
	private Timestamp lastModifiedTstamp;
	private String name;
	private Set<CategoryBo> categories = new HashSet<CategoryBo>();
	private Set<BrandBo> brands = new HashSet<BrandBo>();
	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Timestamp getCreationTstamp() {
		return this.creationTstamp;
	}

	public void setCreationTstamp(Timestamp creationTstamp) {
		this.creationTstamp = creationTstamp;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public UserBo getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(UserBo createdBy) {
		this.createdBy = createdBy;
	}

	public Integer getCreatedByUserId() {
		return createdByUserId;
	}

	public void setCreatedByUserId(Integer createdByUserId) {
		this.createdByUserId = createdByUserId;
	}

	public UserBo getLastModfiedBy() {
		return lastModfiedBy;
	}

	public void setLastModfiedBy(UserBo lastModfiedBy) {
		this.lastModfiedBy = lastModfiedBy;
	}

	public Timestamp getLastModifiedTstamp() {
		return lastModifiedTstamp;
	}

	public void setLastModifiedTstamp(Timestamp lastModifiedTstamp) {
		this.lastModifiedTstamp = lastModifiedTstamp;
	}

	public Integer getLastModifiedByUserId() {
		return lastModifiedByUserId;
	}

	public void setLastModifiedByUserId(Integer lastModifiedByUserId) {
		this.lastModifiedByUserId = lastModifiedByUserId;
	}

	public Set<CategoryBo> getCategories() {
		return categories;
	}

	public void setCategories(Set<CategoryBo> categories) {
		this.categories = categories;
	}

	public Set<BrandBo> getBrands() {
		return brands;
	}

	public void setBrands(Set<BrandBo> brands) {
		this.brands = brands;
	}

}